home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / jaz_clib.arc / JZCPYWND.C < prev    next >
Text File  |  1989-04-09  |  845b  |  24 lines

  1. /*
  2. ┌────────────────────────────────────────────────────────────────────────────┐
  3. │jzcpywnd.c                                     │
  4. │This routine copies a window into another window. This us useful in         │
  5. │situations where you have written information to a window and would like    │
  6. │to save the text in the window in order to move it to another location.     │
  7. │                                         │
  8. │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950              │
  9. └────────────────────────────────────────────────────────────────────────────┘
  10. */
  11. #include <jaz.h>
  12. #include <jzscreen.h>
  13. extern THEADER g_header;
  14.  
  15. TWINDOW *jzcpywnd(fwindow , fwindnum)
  16. TWINDOW *fwindow;        /* pointer to window to copy */
  17. int fwindnum;            /* number to assign to this window */
  18. {
  19.  
  20.   return(jzappend(&g_header,0,fwindow->row1,fwindow->col1,
  21.      fwindow->row2,fwindow->col2,fwindnum));
  22. }
  23.  
  24.